<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<link href="{$root_folder}/templates/styles/main.css" rel="stylesheet" type="text/css" />
<link href="{$root_folder}/templates/styles/jquery.ui.base.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="{$root_folder}/includes/jquery.js"></script>
<script type="text/javascript" src="{$root_folder}/includes/jquery-ui.js"></script>
<script type="text/javascript" src="{$root_folder}/includes/search.js"></script>
<script type="text/javascript">
{literal}
	$(function() {
		$("#search").autocomplete({
			source: "./includes/search.php",
			minLength: 1
		});
	});
{/literal}
</script>
</head>
<body>
<div class="main_container">
	<div class="header_container">
		<div class="header_nav_left">
			<div class="header_nav_button"><a href="index.php">Home</a></div>
			<div class="header_nav_button"><a href="#">Resources</a></div>
			{if $user != 0}
				<div class="header_search"><input class="search_pre" id="search" onFocus="search_start();" onBlur="search_stop();" type="text" value="search" size="75"/></div>
			{/if}
		</div>
		<div class="header_filler"></div>
		<div class="header_nav_right">
			{if $user != 0}
				<div class="header_nav_button"><a href="profile.php">Profile</a></div>
				<div class="header_nav_button"><a href="logout.php">Logout</a></div>
			{else}
				<div class="header_nav_button"><a href="register.php">Register</a></div>
				<div class="header_nav_button"><a href="login.php">Login</a></div>
			{/if}
		</div>
	</div>
	